package com.example.lotterysystem.controller.param;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * Created with IntelliJ IDEA.
 * Description: 创建活动参数
 * User: Spider-Man
 * Date: 2025-09-11
 * Time: 14:24
 */
@Data
public class CreatePrizeParam implements Serializable {
    /**
     * 奖品名称
     */
    @NotBlank(message = "奖品名不能为空!")
    private String prizeName;

    /**
     * 奖品描述
     */
    private String description;

    /**
     * 奖品价格
     */
    @NotNull(message = "奖品价格不能为空!")
    private BigDecimal price;
}
